<?
namespace app\admin\validate;

use think\Validate;

class Auth extends Validate
{
    protected $rule =   [
		'id'	=>'require|same:1', 
    ];
    
    protected $message  =   [
		'id.same'				=>	'默认账号无法删除,无法编辑权限!!',
    ];
    protected $scene = [
		'edit'  =>  ['id'],
		'del'  =>  ['id']
    ];
}